package it.technology.dibi.individual.sensor;

public class GenericSensorInterface {

	public Measure currentValues = null;

	/**
	 * @param event
	 *            contain the last measures from sensor if is different from the
	 *            previous one.
	 */
	public void handleEvent(Measure event) {
		currentValues = event;
	};

	// return the current measure on sensor.
	/**
	 * @return the current values of sensor
	 */
	public Measure getCurrentValues() {
		return currentValues;
	};
}
